/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.service.fr.evaluation;

import com.plian.Tools.pagedata.PageData;
import com.plian.system.entity.fr.evaluation.EvaluationApproval;
import com.plian.system.mybatis.base.BaseService;

/**
 * 资产评估项目核准与备案 服务类
 *
 * @author jianglei
 * @since 2019-10-21
 */
public interface IEvaluationApprovalService extends BaseService<EvaluationApproval> {

//	/** TODO DEL
//	 * 校验编码
//	 * @param id
//	 * @param approvalCode
//	 * @param filingCode
//	 * @return
//	 */
//	Boolean checkIsExisted(Long id, String approvalCode, String filingCode);
//
//	/**
//	 * 校验单据编码
//	 * @param id
//	 * @param code
//	 * @return
//	 */
//	Boolean checkCode(Long id, String code);
//
//	/**
//	 * 保存或新增,包含子表
//	 * @param evaluationApproval
//	 * @return
//	 */
//	Boolean submit(EvaluationApproval evaluationApproval);
//
//	/**
//	 * 变更
//	 * @param evaluationApproval
//	 * @return
//	 */
//	Boolean change(EvaluationApproval evaluationApproval);
//	/**
//	 * 根据JSONObject输出excel
//	 * @param jsonObject json对象
//	 * @return object
//	 */
//	File exportExcel(JSONObject jsonObject);
//	/**
//	 * 根据id打印
//	 * @param id 主键
//	 * @return File
//	 */
//	File buildpdf(Long id);


	/**
	 * 特殊操作，修改编码
	 * @param formId 单据id
	 * @param params 请求里面的参数
	 */
	void privilegeToModifyCode(String formId, PageData params);

}
